/**
 * @author 康文程
 * @date 2024-1-18 上午 10:31
 */
class Commodity_insurance_type {
    /**
     * 查询全部商品保险类型
     * @return 删除成功返回 true，失败返回 false
     */
    getAllCommodityInsuranceTypes(specificationId,commodityId){
        return new Promise((resolve, reject) => {
            $.ajax({
                url: "/www.xiaomi.com/background/get/all/commodity/insurance/type",
                method: "GET",
                success: function (response) {
                    resolve(response);
                },
                error: function (error) {
                    reject(error);
                }
            });
        })
    }
}